import {request} from "./http_request"

// 获取导航列表
export function getNavigationList() {
    return request({
        url: "/nav/get",
        method: "POST",
    })
}

// 获取新闻列表
export function getNewsList(data) {
    return request({
        url: "/news/get",
        method: "POST",
        data: data
    })
}

// 获取新闻详情
export function getNewsDetail(data) {
    return request({
        url: "/news/detail",
        method: "POST",
        data: data
    })
}

// 获取分类产品列表
export function getProductionList(data) {
    return request({
        url:"/product/getlist",
        method: "POST",
        data: data
    })
}

// 获取产品详情
export function getProductionDetail(data) {
    return request({
        url:"/product/detail",
        method: "POST",
        data: data
    })
}